import tensorflow as tf

m0 = tf.constant([3,3])
m1 = tf.constant([[3,3]])
m2 = tf.constant([[2],[2]])

print (m0)
print (m1)
print (m2)

product = tf.matmul(m1,m2)
# print (m2)
print(product)


#func1
sess = tf.Session()
result = sess.run(product)
print(result)
sess.close()


#func2
with tf.Session() as sess:
    result2 = sess.run(product)
    print(result2)